from flask import (Blueprint, request, session)
from flaskr.server.LoadServer import *

bp = Blueprint('clearLoad', __name__, url_prefix='/clearLoad')

load_server = LoadServer(session)
@bp.route('', methods = ['POST'])
def clearLoad():
    load_server.clear_load()

    return{
        'code': 200,
        'msg': '清空成功'
    }
